<div class="row">
<div class="span1">&nbsp;
</div>
<div class="span15">
<div style="padding-left:150px;"><h2>发布职位</h2></div>
<hr />
<?php
//echo $javascript->link('ckeditor/ckeditor');
echo $this->Html->script('ckeditor/ckeditor');

echo $this->Form->create('Job');
echo $this->Form->input('title', array('label' => '职位标题', 'error' => '职位标题必须填写', 'div' => 'clearfix', 'after' => '</div>', 'between' => '<div class="input">'));
echo $this->Form->input('company', array('label' => '公司名称', 'error' => '公司名称必须填写', 'div' => 'clearfix', 'after' => '</div>', 'between' => '<div class="input">'));
echo $this->Form->input('city', array('label' => '工作城市', 'div' => 'clearfix', 'after' => '</div>', 'between' => '<div class="input">'));
echo $form->input('description', array('type' => 'textarea', 'error' => '职位描述必须填写', 'label' => '职位描述', 'class' => 'ckeditor', 'div' => 'clearfix', 'after' => '<span class="help-block">职责描述，职位要求等</span></div>', 'between' => '<div class="input">'));
echo $this->Html->scriptBlock('CKEDITOR.replace("JobDescription", {toolbar:"Basic", "uiColor":"#f1f1f1", "width":"600"})');
?>
<div class="actions">
<?php
echo $form->submit('保存职位', array('class' => 'btn primary', 'div' => false));
?>
&nbsp;
<?php
echo $form->button('取消', array('type' => 'button', 'class' => 'btn', 'onclick' => 'history.go(-1)'));
?>
</div>
<?php
echo $this->Form->end();
?>
</div>
</div>
